<fieldset>
	<legend><?php echo t('LBL_FAMILY', 'family');?></legend>
	<table class="form family">
	    <tr>
	        <td colspan ="2" align="center" class="label">
	        	<?php echo t('LBL_FATHER_MOTHER_NAME', 'family');?></td>
	        <td class="label" style="width:65px; text-align:center"><?php echo t('LBL_FATHER_MOTHER_AGE', 'family');?></td>
	        <td class="label" style="width:185px;"><?php echo t('LBL_FATHER_MOTHER_JOB', 'family');?></td>
	        <td colspan ="4" align="center" class="label"><?php echo t('LBL_BROTHER', 'family');?></td>
	        <td class="label required" style="width: 65px;"><?php echo $form->labelEx($model->family, 'married'); ?></td>
	        <td class="input" colspan ="2" style="width:150px;">
	            <?php echo $form->dropDownList($model->family, 'married', CHtml::listData(LGHelpers::getYesNoData(),'id','name'), array('empty' => t('MSG_FIRST_ITEM_COMMON', 'messages'))); ?>            
                    <?php echo $form->error($model->family, 'married'); ?>
	        </td>
	    </tr>
	    <tr>
	        <td class="label" style="width:51px;"><?php echo $form->labelEx($model->family, 'father_name'); ?></td>
	        <td class="input" style="width:185px;">
	            <?php            
	                echo $form->textField($model->family, 'father_name');
	                echo $form->error($model->family, 'father_name');
	            ?> 
	        </td>
	        <td class="input">
	            <?php            
	                echo $form->textField($model->family, 'father_age', array('style' => 'width:30px; text-align:center'));
                        echo $form->error($model->family, 'father_age');
                        ?> 
	        </td>
	        <td class="input">
	            <?php            
	                echo $form->textField($model->family, 'father_job');
                        echo $form->error($model->family, 'father_job');
	            ?> 
	        </td>
	        <td class="label" style="width:51px;"><?php echo $form->labelEx($model->family, 'num_of_older_brother'); ?></td>
	        <td class="input" style="width:65px;">
	            <?php            
	                echo $form->textField($model->family, 'num_of_older_brother', array('style' => 'width:30px; text-align:center'));
                        echo $form->error($model->family, 'num_of_older_brother');
	            ?> 
	        </td>
	        <td class="label" style="width:51px;"><?php echo $form->labelEx($model->family, 'num_of_younger_brother'); ?></td>
	        <td class="input" style="width:65px;">
	            <?php            
	                echo $form->textField($model->family, 'num_of_younger_brother', array('style' => 'width:30px; text-align:center'));
                        echo $form->error($model->family, 'num_of_younger_brother');
	            ?> 
	        </td>
	        <td rowspan="2" class="label" style="width: 48px;"><?php echo t('LBL_CHILDREN', 'family');?></td>
	        <td style="width:76px;"><?php echo $form->labelEx($model->family, 'num_of_son'); ?></td>
	        <td class="input">
	            <?php            
	                echo $form->textField($model->family, 'num_of_son', array('style' => 'width:30px; text-align:center'));
                        echo $form->error($model->family, 'num_of_son');
	            ?> 
	        </td>
	    </tr>
	    <tr>
	        <td class="label" style="width:51px;"><?php echo $form->labelEx($model->family, 'mother_name'); ?></td>
	        <td class="input">
	            <?php            
	                echo $form->textField($model->family, 'mother_name');
                        echo $form->error($model->family, 'mother_name');
	            ?> 
	        </td>
	        <td class="input">
	            <?php            
	                echo $form->textField($model->family, 'mother_age', array('style' => 'width:30px; text-align:center'));
                        echo $form->error($model->family, 'mother_age');
	            ?> 
	        </td>
	        <td class="input">
	            <?php            
	                echo $form->textField($model->family, 'mother_job');
                        echo $form->error($model->family, 'mother_job');
	            ?> 
	        </td>
	        <td class="label" style="width:51px;"><?php echo $form->labelEx($model->family, 'num_of_older_sister'); ?></td>
	        <td class="input">
	            <?php            
	                echo $form->textField($model->family, 'num_of_older_sister', array('style' => 'width:30px; text-align:center'));
                        echo $form->error($model->family, 'num_of_older_sister');
	            ?> 
	        </td>
	        <td class="label" style="width:51px;"><?php echo $form->labelEx($model->family, 'num_of_younger_sister'); ?></td>
	        <td class="input">
	            <?php            
	                echo $form->textField($model->family, 'num_of_younger_sister', array('style' => 'width:30px; text-align:center'));
                        echo $form->error($model->family, 'num_of_younger_sister');
	            ?> 
	        </td>        
	        <td><?php echo $form->labelEx($model->family, 'num_of_daughter'); ?></td>
	        <td class="input">
	            <?php            
	                echo $form->textField($model->family, 'num_of_daughter', array('style' => 'width:30px; text-align:center'));
                        echo $form->error($model->family, 'num_of_daughter');
	            ?> 
	        </td>
	    </tr>
	</table>
</fieldset>